﻿
@using WebApp.Models
@model RoleViewModel

  <form action="/management/roles" method="post" class="needs-validation" novalidate> 
    @Html.AntiForgeryToken()
    <div class="card-header bg-trans-gradient py-2 pr-2 d-flex align-items-center flex-wrap">
      <!-- we wrap header title inside a span tag with utility padding -->
      <div class="card-title text-white">角色</div>
      <div class="d-flex position-relative ml-auto" style="max-width: 10rem;">
        <i class="fal fa-users position-absolute pos-left fs-lg px-3 py-2 mt-1"></i>
        <input type="text" name="name" required class="form-control bg-subtlelight pl-6" placeholder="新角色">
      </div>
      <button type="submit" class="btn  btn-info ml-2 waves-effect waves-themed">
        新增
      </button>

    </div>
  </form>


